package com.zenithmind.task;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 任务管理服务启动类
 * 
 * @author ZenithMind Team
 * @since 2025-01-09
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableTransactionManagement
@EnableAsync
@EnableScheduling
@MapperScan("com.zenithmind.task.mapper")
public class TaskServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(TaskServiceApplication.class, args);
    }
}
